import Layout from '@/pages/public/layout' // 公共部分

const material = [{
  path: '/material',
  component: Layout,
  children: [{
    path: 'picture',
    component: () => import('@/pages/material/picture.vue'),
    meta: {
      title: '素材-图片',
      permission: 'material.picture.list'
    }
  }, {
    path: 'audio',
    component: () => import('@/pages/material/audio.vue'),
    meta: {
      title: '素材-音频',
      permission: 'material.audio.list'
    }
  }, {
    path: 'video',
    component: () => import('@/pages/material/video.vue'),
    meta: {
      title: '素材-视频',
      permission: 'material.video.list'
    }
  }, {
    path: 'file',
    component: () => import('@/pages/material/file.vue'),
    meta: {
      title: '素材-文件',
      permission: 'material.file.list'
    }
  }]
}]

export default material
